<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="org.springside.modules.security.springsecurity.SpringSecurityUtils" %>
<%@ include file="/common/taglibs.jsp" %>
<html>
<head>
<title>menu</title>
<link rel="stylesheet" href="${ctx}/skin/css/base.css" type="text/css" />
<link rel="stylesheet" href="${ctx}/skin/css/menu.css" type="text/css" />
<link rel="stylesheet" href="${ctx}/skin/css/index.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language='javascript'>var curopenItem = '1';</script>
<script language="javascript" type="text/javascript" src="${ctx}/skin/js/frame/menu.js"></script>
<script type="text/javascript">
var preFrameW = '206,*';
var FrameHide = 0;
var curStyle = 1;
var totalItem = 9;

function show (th, cur,url) {
    if (typeof show.th == 'undefined') {
        show.th = document.getElementById('hg');
        show.cur = 1;
    }
    curStyle = cur;
    if (show.th == th) return;
    show.th.className = 'ite';
    th.className = 'itesel';
  
     window.top.frames["main"].location.href=url;
    show.th = th;
    show.cur = cur;
}
function mv2(selobj,moveout,itemnum)
{
   if(itemnum==curStyle) return false;
   if(moveout=='m') selobj.className = 'itesel';
   if(moveout=='o') selobj.className = 'ite';
   return true;
}
</script>
<style>
body{ padding:0px; margin:0px; }
.ite{text-align:center;width:109px;}
.itesel {width:109px;height:38px;font-weight: bold;text-align:center;background:url(${ctx}/skin/images/frame/left_on.gif) no-repeat;}
.ite a:link, .ite a:visited {font-size: 12px;color: #004a9c;text-decoration: none;font-weight: bold;}
.itesel a:hover {color: #004a9c;font-weight: bold;}
.itesel a:link, .itesel a:visited {font-size: 12px;color: #004a9c;text-decoration: none;font-weight: bold;}
</style>
<base target="main" />
</head>
<body target="main" style="overflow:scroll;overflow-y:hidden;overflow-x:hidden">
<table width='99%' height="100%" border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td style='padding-left:3px;padding-top:8px' valign="top">
		<div id="left">
			<DIV class=bbs_menu>
				  <UL>
				  <% int i=0;%>
				  <s:iterator value="myResourceList">
					  <%i++;
					  if(i==1){
					  %>
					  <LI  id=hg class='itesel' id='ite${id}' onMouseMove="mv2(this,'m',${id});" onMouseOut="mv2(this,'o',${id});" onClick="show(this, ${id},'${ctx}${urlvalue}')"><div class="txt"> ${showname} </div></LI>
					  <script type="text/javascript">
					  	window.top.frames["main"].location.href='${ctx}${urlvalue}';
					  	curStyle=${id};
					  </script>
					  <%}else{%>
					  <LI  id='ite${id}' onMouseMove="mv2(this,'m',${id});" onMouseOut="mv2(this,'o',${id});" onClick="show(this, ${id},'${ctx}${urlvalue}')"><div class="txt"> ${showname} </div></LI>
					  <%}%>
					  
				 </s:iterator> 
				  </UL>
			 </DIV>

		</div>
	  </td>
  </tr>
</table>
</body>
</html>